discriminant by distance

距离判别法